import React from 'react';
import './App.css';
import {HashRouter} from 'react-router-dom'
import PrivateRoute from './component/PrivateRoute/PrivateRoute'
import routerList from './route/index'
//react工程目录
//assets静态资源
//component组件
//pages页面
//router路由
//style样式
//store公共状态
//util公共方法
function App() {
    return (
        <div className="App">
            <HashRouter>
                <PrivateRoute routerList={routerList}/>
            </HashRouter>
        </div>
    );
}

export default App;
